//
//  UATLaunchConfig.h
//  Pods-UStarter_Example
//
//  Created by Mark on 2021/1/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/// 应用启动参数
@interface UATLaunchConfig : NSObject

/// app key in apple store for version checking
@property (nonatomic,strong) NSString * appId;
/// app启动首页，必须是UATLaunchController子类
@property (nonatomic,assign) Class  launchPageClazz DEPRECATED_ATTRIBUTE;
/// 免登录白名单
@property (nonatomic,strong) NSArray<NSString*>* accessWihteList ;
/// 身份校验类(登录页所属类) UATLoginController子类
@property (nonatomic,assign) Class  authorizationClass ;
/// 初始化参数
@property (nonatomic,strong) NSDictionary * launchOpts ;
/// 根视图 UATNavigator子类
@property (nonatomic,assign) Class rootNavigationClass DEPRECATED_ATTRIBUTE;
/// 根控制器
@property (nonatomic,strong) UINavigationController * rootController ;
/// 鉴权启动页
//@property (nonatomic,strong) UATLaunchController * launchController ;

- (instancetype) initWithAppId:(NSString*)appId
//             launchController : (UATLaunchController*)launchController
               accessWhiteList:(NSArray<NSString*>*)whiteList
            authorizationClass:(Class)authorizationClass
                    launchOpts:(NSDictionary*)launchOpts
                rootController:(UINavigationController*)rootController;

@end

NS_ASSUME_NONNULL_END
